package com.greate.community.service;

import com.greate.community.entity.DiscussPost;
import com.greate.community.util.CommunityConstant;
import org.springframework.data.domain.Page;

public interface ElasticsearchService extends CommunityConstant {
    void saveDiscusspost(DiscussPost post);
    void deleteDiscusspost(int id);
    Page<DiscussPost> searchDiscussPost(String keyword, int current, int limit);
}
